package ar.edu.uba.fi.jmit.aspecter.monitor.testUtils;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Esta clase es para simular ser un evento del Sender
 * @author Tomas
 *
 */
public class MockEvent {
	
	private String source;
	
	private EventPriorityMock priority;
	
	private Map<String, Serializable> data = new HashMap<String, Serializable>();

	public void addData(String paramName, Serializable paramValue) {
		getData().put(paramName, paramValue);
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public EventPriorityMock getPriority() {
		return priority;
	}

	public void setPriority(EventPriorityMock priority) {
		this.priority = priority;
	}

	public Map<String, Serializable> getData() {
		return data;
	}

	public void setData(Map<String, Serializable> data) {
		this.data = data;
	}
	
	
}
